package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;

import java.util.Date;

/**
 * 客服电话表 callcenter
 * 
 * @author ruoyi
 * @date 2019-07-16
 */
public class Callcenter extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 客服电话表ID */
	@Excel(name = "客服电话表ID")
	private Integer callcenterId;
	/** 客服电话名称 */
	@Excel(name = "客服电话名称")
	private String name;
	/** 客服电话 */
	@Excel(name = "客服电话")
	private String callTel;
	/** 创建时间 */
	@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date createTime;
	/** 修改时间 */
	@Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
	private Date updateTime;
	/** 扩展字段 */
	@Excel(name = "扩展字段")
	private String attribute;

	public void setCallcenterId(Integer callcenterId) 
	{
		this.callcenterId = callcenterId;
	}

	public Integer getCallcenterId() 
	{
		return callcenterId;
	}
	public void setName(String name) 
	{
		this.name = name;
	}

	public String getName() 
	{
		return name;
	}
	public void setCallTel(String callTel) 
	{
		this.callTel = callTel;
	}

	public String getCallTel() 
	{
		return callTel;
	}

	public void setAttribute(String attribute) 
	{
		this.attribute = attribute;
	}

	public String getAttribute() 
	{
		return attribute;
	}
	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("callcenterId", getCallcenterId())
            .append("name", getName())
            .append("callTel", getCallTel())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("attribute", getAttribute())
            .toString();
    }


	public Date getCreateTime() {
		return createTime;
	}


	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
